project(xfwm4-common)
#AM_CPPFLAGS = \
#	-I${top_srcdir}
#
#noinst_LTLIBRARIES = \
#	libxfwm-common.la
#
#libxfwm_common_la_SOURCES = \
#	xfwm-common.c \
#	xfwm-common.h
#
#libxfwm_common_la_CFLAGS = \
#	$(GTK_CFLAGS) \
#	$(PLATFORM_CFLAGS)
#
#libxfwm_common_la_LIBADD = \
#	$(GTK_LIBS)
#
#libxfwm_common_la_LDFLAGS = \
#	-no-undefined \
#	$(PLATFORM_LDFLAGS)

add_library(${PROJECT_NAME}
        STATIC
        xfwm-common.c
        xfwm-common.h
)

set(deps)
if (${IS_ALONE_COMPILE})
    list(APPEND deps PkgConfig::GTK)
else()
    list(APPEND deps gtk-all-shared)
endif()

target_link_libraries(${PROJECT_NAME}
        PUBLIC
        ${deps}
)
target_include_directories(${PROJECT_NAME}
        PUBLIC
        .
        ..
)
